home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 010a / fff361.zip / LHA.H < prev    next >
C/C++ Source or Header  |  1991-09-08  |  778b  |  39 lines

  1. #include <time.h>
  2. #include <io.h>
  3.  
  4. typedef struct {
  5.     unsigned short time;
  6.     unsigned short date;
  7.     } DATE_TIME;
  8.  
  9. typedef union {                                  /* time stamp */
  10.     unsigned long u;
  11.     struct ftime s;
  12.     DATE_TIME t;
  13.     } STAMP;
  14.  
  15. typedef struct {
  16.     int           headersize;
  17.     char          method[6];
  18.     unsigned long packed;
  19.     unsigned long skip;
  20.     unsigned long original;
  21.     STAMP         dostime;
  22.     time_t        utc;
  23.     int           attr;
  24.     int           level;
  25.     unsigned int  filecrc;
  26.     unsigned int  headcrc;
  27.     int           dos;
  28.     char          *pathname;
  29.     char          *filename;
  30.     int           dirnlen;
  31.     int           filenlen;
  32.     int           info;
  33.     long          currentpos;
  34.     char          *crcpos;
  35.     } HEAD;
  36.  
  37.  
  38. void DoLzh (char *Path);
  39.